package com.diamond.service;

import com.diamond.bo.MessageBO;
import com.diamond.bo.QueryMessageBO;
import com.diamond.bo.ReturnBO;
import com.diamond.po.MessagePO;

/**
 * @author JSmart Tools
 */
 
public interface IMessageService extends IService<MessagePO> {

	public void addOrUpdateMessage(MessagePO messagePo) throws Exception;

	public ReturnBO<MessageBO> queryMessage(QueryMessageBO queryMessageBo)throws Exception;

	public Boolean checkMsgTitle(String msgTitle) throws Exception;

	public MessageBO findMessageByMessageId(String messageId) throws Exception;

	public Boolean deleteMessage(String[] messageId)throws Exception;

}
